package com.gmlive.common.sample.svga

import android.os.Bundle
import com.gmlive.common.sample.databinding.ActivitySvgaFullscreenBinding
import com.gmlive.common.ui.app.IkCompatActivity
import com.gmlive.common.ui.app.annotation.Immerse
import com.gmlive.svgaplayer.util.load

/**

 * @Author svenj
 * @Date 2021/1/27
 * @Email svenjzm@gmail.com
 */
@Immerse(translucentStatus = true)
class FullScreenSvgaActivity: IkCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        val binding = ActivitySvgaFullscreenBinding.inflate(layoutInflater)
        setContentView(binding.root)
        binding.svgaView.load("http://media.xiangshengclub.com/MTYwNjEwNDE4OTA1OCM2NjEjbTRh.m4a")
    }
}